package com.ruoyi.apiserver.services.impl;

import java.util.Map;

public class CozeServicesTest {
    public static void main(String[] args) {
        // 这只是一个示例，实际使用时需要通过Spring注入
        CozeServices cozeServices = new CozeServices();
        
        // 测试JSON字符串
        String testJson = "{\"E\":12,\"I\":0,\"S\":12,\"N\":0,\"T\":12,\"F\":0,\"J\":12,\"P\":0}";
        
        // 测试getJSONAsMap方法
        Map<String, Object> result = cozeServices.getJSONAsMap(testJson);
        
        System.out.println("解析结果:");
        for (Map.Entry<String, Object> entry : result.entrySet()) {
            System.out.println(entry.getKey() + ": " + entry.getValue());
        }
    }
}